import request from "@/utils/request";

// 新增菜单
export function addMenu(data) {
    return request({
        url: "/menu/addMenu",
        method: "POST",
        data
    })
}

// 获取菜单
export function getMenu(data) {
    return request({
        url: "/menu/getMenus",
        method: "POST",
        data
    })
}